        :root {
            --primary-color: #4caf50;
            --secondary-color: #ff9800;
            --dark-color: #2e7d32;
            --light-color: #e8f5e9;
            --text-dark: #333;
            --text-light: #777;
            --background-light: #f9f9f9;
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-dark);
            background-color: #fff;
            transition: background-color 0.3s, color 0.3s;
        }

        body.dark-mode {
            background-color: #1a1a1a;
            color: #f1f1f1;
        }

        .dark-mode .card {
            background-color: #2d2d2d;
            color: #f1f1f1;
        }

        .dark-mode .form-control {
            background-color: #3d3d3d;
            color: #f1f1f1;
            border-color: #555;
        }

        /* Header Styles */
        .header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .dark-mode .header {
            background-color: #2d2d2d;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .logo {
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--primary-color);
        }

        .search-container {
            position: relative;
        }

        .search-category {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background: transparent;
            border-left: 1px solid #ddd;
            padding-left: 10px;
        }

        .header-icon {
            font-size: 1.5rem;
            color: var(--text-dark);
            position: relative;
            margin-left: 15px;
        }

        .dark-mode .header-icon {
            color: #f1f1f1;
        }

        .icon-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: var(--secondary-color);
            color: white;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Mobile Header */
        .mobile-search {
            display: none;
            padding: 10px 0;
        }

        /* Navigation */
        .navbar {
            background-color: var(--primary-color);
            padding: 0.5rem 1rem;
        }

        .dark-mode .navbar {
            background-color: var(--dark-color);
        }

        .nav-link {
            color: white !important;
            font-weight: 500;
            padding: 0.5rem 1rem !important;
        }

        .dropdown-menu {
            border: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .dropdown-item:hover {
            background-color: var(--light-color);
        }

        /* Hero Section */
        .carousel-item {
            height: 500px;
        }

        .carousel-caption {
            background-color: rgba(0, 0, 0, 0.5);
            padding: 20px;
            border-radius: 10px;
        }

        /* Categories */
        .category-card {
            border: none;
            border-radius: 10px;
            transition: transform 0.3s, box-shadow 0.3s;
            text-align: center;
            padding: 20px;
            height: 100%;
        }

        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .category-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        /* Products */
        .product-card {
            border: none;
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s;
            margin-bottom: 20px;
            height: 100%;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .product-img {
            height: 200px;
            object-fit: cover;
        }

        .product-price {
            font-weight: 600;
            color: var(--primary-color);
        }

        .original-price {
            text-decoration: line-through;
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .discount {
            color: #e53935;
            font-weight: 600;
        }

        .btn-add-cart {
            background-color: var(--primary-color);
            color: white;
            border: none;
        }

        .btn-add-cart:hover {
            background-color: var(--dark-color);
        }

        .btn-buy-now {
            background-color: var(--secondary-color);
            color: white;
            border: none;
        }

        .btn-buy-now:hover {
            background-color: #f57c00;
        }

        .btn-wishlist {
            background-color: #f5f5f5;
            color: var(--text-dark);
            border: none;
        }

        .dark-mode .btn-wishlist {
            background-color: #3d3d3d;
            color: #f1f1f1;
        }

        .btn-wishlist:hover {
            background-color: #eeeeee;
        }

        .dark-mode .btn-wishlist:hover {
            background-color: #4d4d4d;
        }

        /* Filters */
        .filter-section {
            background-color: var(--background-light);
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
        }

        .dark-mode .filter-section {
            background-color: #2d2d2d;
        }

        /* Footer */
        footer {
            background-color: #f8f9fa;
            padding: 40px 0 20px;
        }

        .dark-mode footer {
            background-color: #2d2d2d;
            color: #f1f1f1;
        }

        .social-icon {
            font-size: 1.5rem;
            color: var(--text-dark);
            margin-right: 15px;
            transition: color 0.3s;
        }

        .dark-mode .social-icon {
            color: #f1f1f1;
        }

        .social-icon:hover {
            color: var(--primary-color);
        }

        /* Quick View Modal */
        .modal-content {
            border-radius: 15px;
            overflow: hidden;
        }

        /* Dark Mode Toggle */
        .dark-mode-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            border: none;
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .carousel-item {
                height: 400px;
            }
        }

        @media (max-width: 768px) {
            .carousel-item {
                height: 300px;
            }
            
            .desktop-search {
                display: none;
            }
            
            .mobile-search {
                display: block;
            }
            
            .header-icons {
                display: flex;
                justify-content: flex-end;
            }
        }

        @media (max-width: 576px) {
            .carousel-item {
                height: 250px;
            }
            
            .product-card {
                margin-bottom: 15px;
            }
        }
